<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/include/taglibs.jsp"%>
<%
	String url = (String)request.getAttribute("javax.servlet.forward.request_uri");
	String menu1="";
	String menu2="";
	String menu3="";
	String menu4="";
	String menu5="";
	String menu6="";
	String menu7="";
	String menu8="";
	String menu9="";
	if(url.indexOf("pere200Q")>-1){
		menu1="o";
	}else if(url.indexOf("pere100Q.")>-1){
		menu2="o";
	}else if(url.indexOf("pere500Q")>-1){
		menu3="o";
	}else if(url.indexOf("pere300Q")>-1){
		menu4="o";
	}else if(url.indexOf("pere400Q")>-1){
		menu5="o";
	}else if(url.indexOf("pere700Q")>-1){
		menu6="o";
	}else if(url.indexOf("pere1200Q")>-1){
		menu7="o";
	}else if(url.indexOf("pere800Q")>-1){
		menu8="o";
	}else if(url.indexOf("pere1000Q")>-1){
		menu9="o";
	}
%>
<c:if test="${empty sessionScope['userInfo'] }">

	<table width="362" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td width="89"><a href="#"
				onMouseOut="changeImg(this,'');"
				onMouseOver="changeImg(this,'on');" onclick="moveRe();"><img
					src="/usr/images/res_btn_01<%=menu1 %>.gif" name="Image9" width="89"
					height="28" border="0"></a></td>
			<td width="89"><a href="./pere100Q.do?p_id=${param.p_id }"
				onMouseOut="changeImg(this,'');"
				onMouseOver="changeImg(this,'on');"><img
					src="/usr/images/res_btn_02<%=menu2 %>.gif" name="Image6" width="89"
					height="28" border="0"></a></td>
			<td width="89">
	<c:if test="${'N'==pensionInfo.reservation_yn}">
			<a
				href="#"
				onclick="alert('예약은 전화로만 가능합니다');"
				onMouseOut="changeImg(this,'');"
				onMouseOver="changeImg(this,'on');"><img
					src="/usr/images/res_btn_03<%=menu3 %>.gif" name="Image7" width="89"
					height="28" border="0"></a>
	</c:if>
	<c:if test="${'N'!=pensionInfo.reservation_yn}">
			<a
				href="./pere500Q.do?p_id=${param.p_id }"
				onMouseOut="changeImg(this,'');"
				onMouseOver="changeImg(this,'on');"><img
					src="/usr/images/res_btn_03<%=menu3 %>.gif" name="Image7" width="89"
					height="28" border="0"></a>
	</c:if>
			</td>
			<td width="89"><a
				href="./pere300Q.do?p_id=${param.p_id }"
				onMouseOut="changeImg(this,'');"
				onMouseOver="changeImg(this,'on');"><img
					src="/usr/images/res_btn_04<%=menu4 %>.gif" name="Image8" width="89"
					height="28" border="0"></a></td>
		</tr>
	</table>
</c:if>
<c:if test="${!empty sessionScope['userInfo'] }">

	<table width="362" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td width="89"><a href="./pere400Q.do?p_id=${param.p_id }"
				onMouseOut="changeImg(this,'');"
				onMouseOver="changeImg(this,'on');">
				<img
					src="/usr/images/res_btn_05<%=menu5 %>.gif" name="Image9" width="89" height="28"
					border="0">
				</a></td>
			<td width="89"><a href="./pere700Q.do?p_id=${param.p_id }"
				onMouseOut="changeImg(this,'');"
				onMouseOver="changeImg(this,'on');" ><img
					src="/usr/images/res_btn_a01<%=menu6 %>.gif" name="Image9" width="89" height="28"
					border="0"></a></td>
			<td width="89"><a href="pere1200Q.do?p_id=${param.p_id }"
				onMouseOut="changeImg(this,'');"
				onMouseOver="changeImg(this,'on');" ><img
					src="/usr/images/res_btn_a02<%=menu7 %>.gif" name="Image6" width="89" height="28"
					border="0"></a></td>
			<td width="89"><a href="#" onclick="moveRe3();"
				onMouseOut="changeImg(this,'');"
				onMouseOver="changeImg(this,'on');" ><img
					src="/usr/images/res_btn_a03<%=menu8 %>.gif" name="Image7" width="89" height="28"
					border="0"></a></td>
			<td width="89"><a href="#" onclick="moveRe2();"
				onMouseOut="changeImg(this,'');"
				onMouseOver="changeImg(this,'on');" ><img
					src="/usr/images/res_btn_a04<%=menu9 %>.gif" name="Image8" width="89" height="28"
					border="0"></a></td>
		</tr>
	</table>
</c:if>
